/**
 * Visit请求对象
 *
 * @author sxf
 * @email sxf02615@163.com
 * @date 2025/1/15
 */
package com.sxf.crm.dto;


import com.sxf.crm.enums.VisitStatus;
import com.sxf.crm.enums.VisitType;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 拜访请求基础对象
 */

 @Data
public class VisitRequest {
    @NotBlank(message = "拜访主题不能为空")
    private String title;

    @NotBlank(message = "拜访内容不能为空")
    private String content;

    @NotNull(message = "拜访日期不能为空")
    private Long visitTime;

    @NotNull(message = "拜访类型不能为空")
    private String visitType;

    private String visitStatus;

    //拜访结果
    private String visitResult;

    //下次拜访计划
    private String nextPlan;

    @NotNull(message = "客户ID不能为空")
    private Long customerId;

    private List<Long> collaboratorIds;
    
    //拜访地址
    private String visitAddress;

    //拜访目的
    private String visitPurpose;


} 